<?php
include("../lib/db.lib");
include("../lib/std.lib");
include("user_check.php");

$cat_id=param("cat_id");
$pd_id=param("pd_id");

$title=product_get_title($shop_id,$pd_id);
product_del($shop_id,$pd_id);

redirect("Shop $shop_id : Product <i>$title</i>  deleted.","./p_cat_pd_list.php?cat_id=$cat_id",2);

?>
